#ifndef ANIMAL_H
#define ANIMAL_H
enum Gender{male,female};

class Animal{
	protected:
		int age;
		int ageLimit;
		Gender sex;
		std::string nume;
	public:
		void setAge(int);
		int getAge()const;
		void setPerioadaGestatie(int);
		int getPerioadaGestatie()const;
		void addAge(int);
		void setAgeLimit(int);
		int getAgeLimit()const;
		Gender getSex()const;
		void setSex(Gender s);
		bool isMale();
		bool isFemale();
		virtual std::string getNume();
		virtual void print();
		friend std::ostream& operator<<(std::ostream&,Animal&);
		virtual Animal* giveBirth()=0;
};
#endif
